package com.huacai.orders.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huacai.common.annotation.Excel;
import com.huacai.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * @Author youyutudou
 * @Date 2025-06-17 15:40
 */
public class OrderDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 入住日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInDate;

    /**
     * 退房日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退房日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkOutDate;

    /**
     * 天数
     */
    @Excel(name = "天数")
    private Integer days;

    /**
     * 订单状态
     */
    @Excel(name = "订单状态")
    private String status;

    /**
     * 酒店ID
     */
    @Excel(name = "酒店ID")
    private String homestayId;

    /**
     * 预订人ID
     */
    @Excel(name = "预订人ID")
    private Integer userId;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private Integer totalAmount;

    /**
     * 酒店名称
     */
    private String title;

    /** 酒店位置*/
    private String location;

    /** 单价*/
    private Integer price;

    private String image;

    private String city;
}
